﻿namespace Bricks.Component.Utils.Const
{
    /// <summary>
    /// 全局常量
    /// </summary>
    public class ConfigConst
    {
        #region 文件
        /// <summary>
        /// 文件上传路径
        /// </summary>
        public const string FileUploadPath = "/Upload/Files/";

        /// <summary>
        /// 文件上传最大字节数
        /// </summary>
        public const int FileUploadMaxSize = 1000000;

        /// <summary>
        /// 文件类型
        /// </summary>
        public const string FileType = "gif,jpg,jpeg,png,bmp,txt,zip,rar,doc,docx,xls,xlsx,ppt,pptx";
        #endregion

        #region 图片（图片和文件是一样的）
        ///// <summary>
        ///// 图片上传路径
        ///// </summary>
        //public const string ImageUploadPath = "/Upload/Images/";

        ///// <summary>
        ///// 图片上传最大字节数
        ///// </summary>
        //public const int ImageUploadMaxSize = 1000000;

        ///// <summary>
        ///// 图片类型
        ///// </summary>
        //public const string ImageType = "gif,jpg,jpeg,png,bmp";
        #endregion
    }
}